-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: show a fun fact while pdf is loading #53
Merged
aamirazad
merged 3 commits into
main
from
06-29-feat_show_a_fun_fact_while_pdf_is_loading
Jul 6, 2024
Merged
feat: show a fun fact while pdf is loading #53
aamirazad
merged 3 commits into
main
from
06-29-feat_show_a_fun_fact_while_pdf_is_loading
Jul 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This was referenced Jun 29, 2024
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @aamirazad and the rest of your teammates on Graphite |
This was referenced Jun 29, 2024
Probably would be better to fetch advice on the server by putting it in |
Merge activity
|
aamirazad
force-pushed
the
06-29-fix_only_download_the_pdf_once
branch
from
July 6, 2024 17:12
13062e8
to
ab96e72
Compare
aamirazad
force-pushed
the
06-29-feat_show_a_fun_fact_while_pdf_is_loading
branch
from
July 6, 2024 17:14
a4acb5a
to
4c72edd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR
Integrated a new feature in the Document Viewer that fetches and displays random advice from Advice Slip API.
What changed?
document-viewer.tsx
to include a new state for storing advice fetched from the Advice Slip API.AdviceAPIType
to thetypes
directory.Why?
I like websites that feel fun and developer made, not cooperate. Also, reading and thinking about advice makes the long loading much less painful.